<div class="cart-hd">
	购物车
</div>
<div id="box">
	<div class="empty" ng-show="!cartData.flag">
		<div class="empty-logo">
			<img src="img/empty.png" alt="">
		</div>
		<p>亲，购物车空空的耶~</p>
		<span ui-sref="home">去逛逛</span>
	</div>
	<div class="car" ng-show="cartData.flag">
		<div class="address">鲜蜂侠需要获取您的准确地址哦</div>
		<div class="line"></div>
		<div class="cart-wrap">
			<div class="decoration">
				<p class="decoration-title">闪送超市</p>
				<p class="decoration-time">¥0起送，22:00前满¥30免运费</p>
			</div>
			<p class="receive-time">收货时间&nbsp;&nbsp;<span class="get-time"></span><span class="time-select">可预订></span></p>
			<div class="remark">
				<p>收货备注</p>
				<input type="text" placeholder="可添加备注要求">
			</div>
			<table>
				<tr ng-repeat="(key,i) in cartData.dataCart">
					<td class="list-check">
						<input type="checkbox" ng-model='i.status' ng-change='danxuan(i.status,i.price,i.num)'>
					</td>
					<td class="list-img">
						<img ng-src="{{i.img}}" alt="">
					</td>
					<td class="list-right">
						<p class="sale-name">{{i.name}}</p>
						<p class="now-price">￥{{i.price}}</p>
						<p class="sale-add" ng-click="addFun(key,i)">＋</p>
						<p class="sale-del" ng-show="i.num>0">
							<span class="del" ng-click="delFun(key,i)">－</span>
							<span class="count">{{i.num}}</span>
						</p>
					</td>
				</tr>
			</table>
			<div class="total">
				<div class="check-total">

					<input type="checkbox" ng-model="abc" ng-change="all()"><span>全选</span>
				</div>
				<div class="price-total">
					共:<span>￥{{total.money | number:2}}</span>	
				</div>
				<div class="ok">选好了</div>
			</div>
		</div>
	</div>
</div>